* textmodes/enriched.el (enriched-next-annotation):
authorLeo Liu <sdl.web@gmail.com>
Sat, 23 Jun 2012 13:33:44 +0000 (21:33 +0800)
committerLeo Liu <sdl.web@gmail.com>
Sat, 23 Jun 2012 13:33:44 +0000 (21:33 +0800)
Use eq.

lisp/ChangeLog
lisp/textmodes/enriched.el

index 90d22f9e31e044e4f9c2ea2fd5b2122bc95054e1..a1187e225fe0343c158fde94bd9b1f1616b38950 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-23  Leo Liu  <sdl.web@gmail.com>
+
+       * textmodes/enriched.el (enriched-next-annotation):
+       Use eq (Bug#11528).
+
 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * minibuffer.el (minibuffer-confirm-exit-commands):
index 68a99b0efe4b4ebffde655a00403364d2b22ee3e..a28fcfc7e4bba083951fa83f97729b36dc04257d 100644 (file)
@@ -437,7 +437,7 @@ Return value is \(begin end name positive-p), or nil if none was found."
              (progn (goto-char (match-beginning 0))
                     (not (looking-at enriched-annotation-regexp))))
     (forward-char 1)
-    (if (= ?< (char-after (point)))
+    (if (eq ?< (char-after (point)))
        (delete-char 1)
       ;; A single < that does not start an annotation is an error,
       ;; which we note and then ignore.